import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:flutter_spinkit/flutter_spinkit.dart';
import 'package:geomancy/styles/index.dart';

class CommonLoadingCircleWidget extends StatelessWidget {
  final Color? color;
  final double? size;
  final double? lineWidth;
  const CommonLoadingCircleWidget({Key? key, this.color, this.size, this.lineWidth}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return SpinKitRing(color: color ?? ColorStyle.borderColor, size: size ?? 36.w, lineWidth: lineWidth ?? 3.w);
  }
}
